@charset "utf-8";
@import "_common.scss";

main {
  width: $width;
  margin: 0 auto;
  // 热卖
  .box1 {
    position: relative;
    text-align: center;
    .title {
      position: absolute;
      left: 50%;
      top: 0;
      transform: translateX(-50%);
      margin-top: 55px;
      p {
        text-align: center;
        &:first-child {
          font-size: 18px;
        }
        &:last-child {
          font-size: 14px;
          color: #959595;
        }
      }
      &::before {
        display: block;
        content: "";
        position: absolute;
        left: -71px;
        top: 50%;
        width: 56px;
        height: 1px;
        background-color: #000;
      }
      &::after {
        display: block;
        content: "";
        position: absolute;
        right: -71px;
        top: 50%;
        width: 56px;
        height: 1px;
        background-color: #000;
      }
    }
    .content {
      padding-top: 80px;
      justify-content: space-around;
      li {
        float: left;
        margin: 0 35px;
        margin-top: 67px;
        a {
          color: #000;
          .cont_img {
            width: 180px;
            height: 134px;
            img {
              width: 100%;
            }
          }
          .cont_text {
            margin-top: 39px;
            text-align: center;
            p {
              white-space: nowrap;
              text-overflow: ellipsis;
              overflow: hidden;
              &:first-child {
                font-size: 12px;
              }
              &:last-child {
                font-size: 14px;
              }
            }
          }
          &:hover {
            color: brown;
            text-decoration: underline;
          }
        }
      }
    }
    .more {
      display: inline-block;
      width: 120px;
      height: 45px;
      line-height: 45px;
      border: 1px solid #a0a0a0;
      text-align: center;
      font-size: 14px;
      color: #a8a8b7;
      margin: 40px;
      &:hover {
        color: #000;
        border-color: #000;
      }
    }
  }
  // 中间插件
  .illustration {
    position: relative;
    width: $width;
    height: 260px;
    background: url(../img/index_01.jpg) no-repeat center center;
    // display: table-cell;
    // vertical-align: middle;
    // text-align: center;
    .content {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      h3 {
        color: #fff;
        font-weight: 400;
        font-size: 38px;
      }
      p {
        color: #c6c6c6;
        position: relative;
        font-size: 24px;
        &::after {
          content: "";
          display: block;
          position: absolute;
          width: 117px;
          height: 1px;
          background-color: #e1e1e1;
          left: 50%;
          bottom: -5px;
          transform: translateX(-50%);
        }
      }
    }
  }
  // 图片集
  .images {
    display: flex;
    justify-content: space-between;
    .left_img {
      display: flex;
      flex-wrap: wrap;
      width: 657px;
      justify-content: space-between;
      .l_img_item {
        width: 327px;
        height: 292px;
        img {
          width: 100%;
          height: 100%;
        }
      }
    }
    .right_img {
      width: 341px;
      height: 585px;
    }
  }
}
